package java3_13;

public class Circle {
    float r;
    float pi;


    public float calculate1(){
        float perimeter = 2*r*pi;//计算周长
        return perimeter;
    }
    public float calculate2(){
        float area = r*r*pi; //面积
        return area;
    }
}
